var pg = require('pg');
var f = require('./function');
var conString = "tcp://postgresuser:sonic333@192.168.0.2/hlt_dev"
var client = new pg.Client(conString);
selectSQLString = 'select * from mps.mps_admins';
client.connect(function(error, results) {
    if(error){
        console.log('ClientConnectionReady Error: ' + error.message);
        client.end();
        return;
    }
    console.log('connection success...\n');
    f._select(client,selectSQLString);
});